package com.cxp.tour.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author tour
 * @since 2024-12-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Scenic对象", description="")
public class Scenic implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "景点主键ID,自增")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "景点名称")
    private String name;

    @ApiModelProperty(value = "景点分类ID")
    private Integer typeId;

    @ApiModelProperty(value = "封面")
    private String cover;

    @ApiModelProperty(value = "景点收藏,字符串，用,分割")
    private String collectIds;

    @ApiModelProperty(value = "景点浏览，字符串，用,分割")
    private String viewIds;

    @ApiModelProperty(value = "景点所在地")
    private String address;

    @ApiModelProperty(value = "景点简介")
    private String concent;

    @ApiModelProperty(value = "景点状态")
    private Boolean status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

//    @ApiModelProperty(value = "景点分类")
//    private String typeName;



}
